package com.qiandw.security
import java.util

import org.springframework.stereotype.Component

@Component
class PermissionImpl extends PermissionSrv {
  override def listPermission(): util.HashMap[String, Array[String]] = {

    val ps = new util.HashMap[String, Array[String]]()

    ps.put("/user**", Array("USER"))
    ps.put("/admin**", Array("ADMIN"))

    ps
  }
}
